package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.PraiseRes;
import org.hxyjs.page.PageInfo;

public interface PraiseResService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<PraiseRes> getAllPraiseRes() throws Exception;

    /**
     * 删除学生
     * @param urid
     * @return
     * @throws Exception
     */
    public DTO<PraiseRes> deletePraiseResByUrid(String urid) throws Exception;
    /**
     *  修改学生
     * @param praiseRes
     * @return
     */
    public DTO<PraiseRes> updatePraiseResByUrid(PraiseRes praiseRes)  throws Exception;
    /**
     *  增加学生
     * @param praiseRes
     * @return
     */
    public DTO<PraiseRes> addPraiseRes(PraiseRes praiseRes)  throws Exception;

    /**
     * 根据主键查询学生
     * @param urid
     * @return
     * @throws Exception
     */
    public DTO<PraiseRes> getPraiseResByUrid(String urid) throws Exception;

     public DTO<PraiseRes> getPraiseResByPage(PageInfo pageInfo) throws Exception;


}
